package com.example.bean;

import org.apache.solr.client.solrj.beans.Field;

import java.io.Serializable;

/**
 *   <field name="companyName" type="text_ik" indexed="true" stored="true"/>
 *   <field name="positionAdvantage" type="text_ik" indexed="true" stored="true" />
 *   <field name="positionName" type="text_ik" indexed="true" stored="true" />
 *   <field name="salary" type="text_ik" indexed="true" stored="true" />
 *   <field name="education" type="text_ik" indexed="true" stored="true" />
 *   <field name="email" type="text_ik" indexed="true" stored="true" />
 */
public class Position implements Serializable {
    @Field
    private String id;
    @Field
    private double companyId;
    @Field
    private String companyName;
    @Field
    private String positionAdvantage;
    @Field
    private String positionName;
    @Field
    private String salary;
    @Field
    private String education;
    @Field
    private String email;

    @Override
    public String toString() {
        return "Position{" +
                "id='" + id + '\'' +
                ", companyId=" + companyId +
                ", companyName='" + companyName + '\'' +
                ", positionAdvantage='" + positionAdvantage + '\'' +
                ", positionName='" + positionName + '\'' +
                ", salary='" + salary + '\'' +
                ", education='" + education + '\'' +
                ", email='" + email + '\'' +
                '}';
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public double getCompanyId() {
        return companyId;
    }

    public void setCompanyId(double companyId) {
        this.companyId = companyId;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getPositionAdvantage() {
        return positionAdvantage;
    }

    public void setPositionAdvantage(String positionAdvantage) {
        this.positionAdvantage = positionAdvantage;
    }

    public String getPositionName() {
        return positionName;
    }

    public void setPositionName(String positionName) {
        this.positionName = positionName;
    }

    public String getSalary() {
        return salary;
    }

    public void setSalary(String salary) {
        this.salary = salary;
    }

    public String getEducation() {
        return education;
    }

    public void setEducation(String education) {
        this.education = education;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }
}
